package com.gen.tool;

import android.graphics.Bitmap;

public class PlayerInfo{
	private String userEmail;
	private String nickName;
	private String totalScore;
	private Bitmap img;
	private String state;  //ready'0' or unReady'1' or empty'2' or inactive'3' or manager'4'
	private String role;   //provider or challenger or " "
	private String score;  //the score during the game
	
	public String getUserEmail() {
		return userEmail;
	}
	
	public void setUserEmail(String userEmail){
		this.userEmail = userEmail;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
	public String getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}
	
	public String getScore() {
		return score;
	}

	public void setScore(String Score) {
		this.score = Score;
	}

	public Bitmap getImg() {
		return img;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}
	
	public PlayerInfo newPlayer(String userEmail,String nickName, String totalScore, Bitmap img, String state,  String role,  String score){
		this.userEmail = userEmail;
		this.nickName = nickName;
		this.totalScore = totalScore;
		this.state = state;
		this.role = role;
		this.score = score;
		this.img = img;
		
		return this;
	}
}
